#ifndef _KEY_H_
#define _KEY_H_

typedef unsigned char uint8;
typedef unsigned int uint16;
typedef unsigned long uint32;
typedef char int8;
typedef int int16;
typedef long int32;

sbit ENLED = P1^4;
sbit ADDR0 = P1^0;
sbit ADDR1 = P1^1;
sbit ADDR2 = P1^2;
sbit ADDR3 = P1^3;

sbit KeyOut1=P2^3;
sbit KeyOut2=P2^2;
sbit KeyOut3=P2^1;
sbit KeyOut4=P2^0;
sbit KeyInt1=P2^4;
sbit KeyInt2=P2^5;
sbit KeyInt3=P2^6;
sbit KeyInt4=P2^7;


#endif